package cn.lili.modules.system.fallback;

import cn.lili.common.exception.ServiceException;
import cn.lili.modules.system.client.LogisticsClient;
import cn.lili.modules.system.entity.dos.Logistics;
import cn.lili.modules.system.entity.vo.Traces;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: ftyy
 * @date: 2022-01-17 11:24
 * @description: 物流配置客户端Fallback
 */
public class LogisticsFallback implements LogisticsClient {
    @Override
    public List<Logistics> list() {
        throw new ServiceException();
    }

    @Override
    public Logistics getById(String logisticsId) {
        throw new ServiceException();
    }

    @Override
    public Traces getLogistic(String mLogisticsCode, String mLogisticsNo, String customerName) {
        throw new ServiceException();
    }

    @Override
    public Logistics getByName(String name) {
        throw new ServiceException();
    }

    @Override
    public String save(Logistics logistics) {
        throw new ServiceException();
    }
}
